import org.apache.logging.log4j.Logger ;
import org.apache.logging.log4j.LogManager;

public class App {
    private static final String MODULE = "elk-client-java" ;
    private static final Logger LOGGER = LogManager.getLogger(LogManager.ROOT_LOGGER_NAME) ;
    private static void info(String message) {
        LOGGER.info("[component:{}] {}", MODULE, message) ;
    }
    private static void warn(String message) {
        LOGGER.warn("[component:{}] {}", MODULE, message) ;
    }
    private static void error(String message) {
        LOGGER.error("[component:{}] {}", MODULE, message) ;
    }
	public static void main( String[] args ) {
        info("hello world") ;
        warn("hello world") ;
        error("hello world") ;
	}
}
